<link rel="stylesheet" type="text/css" href="<?php echo base_url('common/home')?>/css/style.css" />
<script type="text/javascript" src="<?php echo base_url('common/home')?>/js/jquery-1.10.2.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>common/layer/layer.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>common/home/js/jquery.form.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>common/home/js/jquery.validate.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>common/home/js/additional-methods.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>common/home/js/validate.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>common/home/js/validateForm.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>common/js/jquery.Msg.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>common/home/js/divselect.js"></script>
<script type="text/javascript">
    $(function () {
        var index = parent.layer.getFrameIndex(window.name);
        $(".hCloseLogin").click(function () {
            parent.layer.close(index);
        });
        $(".doregister").click(function () {
            parent.register(index);
        });
        $.validate_dologin('ajax_form');
    })
    function Success(data) {
        if (data.Statu == 'ok') {
            parent.login_success(parent.layer.getFrameIndex(window.name));
        } else {
            parent.login_fail(parent.layer.getFrameIndex(window.name));
        }
        
    }
</script>
<!--弹框 begin-->
<div class="hMask" style="display:block;">
    <!--登录 begin-->
    <div class="hLogin" style="display:block;margin:0 auto 0;">
        <img class="hClose hCloseLogin" src="<?php echo base_url('common/home')?>/img/hClose.png" width="22" height="21" alt="" />
        <h1>会员登录</h1>
        <form id="ajax_form" method="post" action="<?php echo site_url('login/do_login')?>" style="margin-bottom:0;">
            <input id="account" name="account" class="hLoginName" type="text" placeholder="请输入用户名或邮箱" />
            <input id="pass" name="pass" class="hLoginPwd" type="password" placeholder="请输密码" />
            <div class="hGoReg">还没有注册？ <span class="doregister">立即注册</span></div>
            <input class="hLoginBtns" type="submit" value="登    录" />
        </form>
    </div>
    <!--登录 end-->
</div>
<!--弹框 end-->
